package com.linkage.usercenter.pojo.entity;

import com.linkage.usercenter.pojo.baseDO.TableBaseBO;

import java.io.Serializable;
import java.util.Date;

/**
 * 这是MyBatis Generator自动生成的Model Class.
 * 对应的数据表是 : CORE_MIDDLE_USER_ROLE
 * @author dev
 * @date 2020-04-19 15:17:07
 */
public class CoreMiddleUserRole extends TableBaseBO implements Serializable {


    /**
     * 用户帐号
     */
    private String middleUserCode;

    /**
     * 角色编码
     */
    private String middleRoleCode;



    private static final long serialVersionUID = 1L;


    public String getMiddleUserCode() {
        return middleUserCode;
    }

    public void setMiddleUserCode(String middleUserCode) {
        this.middleUserCode = middleUserCode == null ? null : middleUserCode.trim();
    }

    public String getMiddleRoleCode() {
        return middleRoleCode;
    }

    public void setMiddleRoleCode(String middleRoleCode) {
        this.middleRoleCode = middleRoleCode == null ? null : middleRoleCode.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", middleUserCode=").append(middleUserCode);
        sb.append(", middleRoleCode=").append(middleRoleCode);
        sb.append(", createCode=").append(createCode);
        sb.append(", createDate=").append(createDate);
        sb.append(", updateCode=").append(updateCode);
        sb.append(", updateDate=").append(updateDate);
        sb.append("]");
        return sb.toString();
    }
}